package com.yykj.drup.server.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author zengg
 * @since 2022-03-10
 */
@Getter
@Setter
@NoArgsConstructor
@TableName("doctor_store")
@ApiModel(value = "DoctorStore对象", description = "")
public class DoctorStore {

    @ApiModelProperty("医生药店关联主键ID")
    @TableId("id")
    private Integer id;

    @ApiModelProperty("医生标识ID")
    @TableField("doctor_id")
    private String doctorId;

    @ApiModelProperty("药店标识ID")
    @TableField("store_id")
    private Integer storeId;

    @ApiModelProperty("排序标识 值越小越靠前")
    @TableField("sort")
    private Integer sort;

    public DoctorStore(String doctorId,Integer storeId){
        this.doctorId = doctorId;
        this.storeId = storeId;
    }

}
